#include "Date.h"

typedef long long ll;
class A
{
public:
    A()
    {}

    A(int a)
    {
        cout << " 1 " << endl;
        t = a;
    }

    void operator= (int& b)
    {
        t = b;
        cout << "2" << endl;
    }

    void operator= (const int &b)
    {
       t=b;
       cout <<"2" << endl;
    }

private:
    int t;
};

void test2(void)
{
    A a;
    int t = 1;
    int b = t;
    a = 1;
}

void test1(void)
{
    Date d;

    /*d.func();
    func(p);
    rd.func();*/

    /*d.operator<<(cout);
    ::operator<<(d, cout);*/

    d << cout;

}

//struct B
//{
//    int b = 3;
//};
//
////int b = 1;
//
//void test3(void)
//{
//    B bb;
//
//    //int b = 2;
//    cout << b << endl;
//    cout << ::b << endl;
//    cout << bb.b << endl;
//}

int main()
{
    //test1();
    //test2();
    //test3();
    
	return 0;
}